# 带着二哈去旅行丶:ZZQ
# 生成时间：2021/8/17 15.4 使用Plotly模拟掷骰子.3 随机漫步数:49

from name_function import get_formatted_name

print('Enter "q" at any time to quit.')
while True:
    first=input('\nplease give me a fitst name:')
    if first=='q':
        break
    last=input('\nplease give me a last name:')
    if last=='q':
        break
    formatted_name=get_formatted_name(first,last)
    print(f'\nNeatly formatted name:{formatted_name}.')